package com.qingcheng.pojo.goods;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "tb_stock_back")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StockBack implements Serializable {

    @Id
    private String orderId; //订单id
    @Id
    private String skuId;

    private Integer num; //回滚数量

    private String status; //回滚状态  0未回滚  1已回滚

    private Date createTime; //创建时间

    private Date backTime; //回滚时间
}
